package top.ljlgithub.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.ljlgithub.api.bean.Express;
import top.ljlgithub.api.mapper.ExpressMapper;
import top.ljlgithub.api.service.ExpressService;

import java.util.List;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/5/7 19:14
 * @Version 1.0
 **/
@Service
public class ExpressServiceImpl implements ExpressService {
    @Autowired
    ExpressMapper expressMapper;

    @Override
    public List<Express> getExpress(int id) {
        List<Express> expressList = expressMapper.getExpress(id);
        return expressList;
    }
}
